package com.hup.minicontroller.common.model.dto;

import com.hup.utils.io.netty.model.LoginResponsePacket;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class LoginResponse extends LoginResponsePacket {

    private String serverName;

    private ControlConfigDto controlConfig;

    public LoginResponse(String serverName, ControlConfigDto controlConfig) {
        this.serverName = serverName;
        this.controlConfig = controlConfig;
    }
}
